import {top1,topactive,topnormal} from './top.js'
import {prdhover,product1hover, autoply,jumpnumber} from "./wrap.js";
import * as contentjs  from './content.js'
import {close,fixclose,foot} from "./foot.js";

window.onscroll = function () {
    if (top1.offset().top >0 ){
        topactive()
        if (!close){
            foot.slideDown()
        }
    }
    if (top1.offset().top === 0 ){
        topnormal()
        foot.slideUp()
    }
}

product1hover()
prdhover()
autoply()
jumpnumber(32000,83828272, '.mtext-moneynumb',300000,1)
jumpnumber(100,8965, '.mtext-businessnumb',300,50)


contentjs.form1()
contentjs.daikuan1()
contentjs.daikuan3()
contentjs.play()
contentjs.siderback()
contentjs.sidertoggle()
contentjs.leftullist()

fixclose()